package com.asset.service.imp;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;

import com.asset.pojo.UserOperate;
import com.asset.service.BaseService;
import com.asset.service.UserOpteService;

@Service
public class UserOpteServiceImp extends BaseService implements UserOpteService{

	@Override
	public void insertUserOpte(UserOperate operate) {
		
		userOpteMapper.insertUserOpte(operate);	
	}

	@Override
	public void deleUserOpteByKey(long id) {
		
		userOpteMapper.deleteUserOpteByKey(id);		
	}

	@Override
	public UserOperate getUserOpteByKey(long id) {
		
		return userOpteMapper.getUserOpteByKey(id);
	}

	@Override
	public List<UserOperate> listUserOpteAll() {
		
		return userOpteMapper.listUserOpteAll();
	}

	@Override
	public List<UserOperate> listUserOptePage(String SearchTemp, Integer start, Integer end, Short opteGenera,Date opteTime1,Date opteTime2) {
		
		return userOpteMapper.listUserOptePage(SearchTemp, start, end, opteGenera,opteTime1,opteTime2);
	}

	@Override
	public List<UserOperate> listUserOpteByKeyAndString(Long id, String SearchTemp) {
		
		return userOpteMapper.listUserOpteByKeyAndString(id, SearchTemp);
	}
}
